@extends("admin.base.index")

@section("content")
	<div class="block-area" id="text-input">
        <h3 class="block-title">修改</h3>
        <form action='{{ url("admin/admins") }}/{{ $user->adminid }}' method='post'>
            <input type='hidden' name='_token' value='{{ csrf_token() }}'>
            <input type='hidden' name='_method' value='PUT'>
            <div class="row">
                <div class="col-lg-4">
                    <input name='adminname' type="text" class="form-control m-b-10" placeholder="姓名" value='{{ $user->adminname }}'>
                </div>
                <div class="col-lg-4">
                    <input name='adminpassword' type="text" class="form-control m-b-10" placeholder="密码" value='{{ $user->adminpassword }}'>
                </div>
                <div class='row'>
                    <div class="col-lg-12">
                        <input type='submit' class='btn' value='修改'>
                    </div>
                </div>
            </div>
        </form>
    </div>        
@stop